package com.codef.sharp.common.security.bo;

/**
 * 保存在token信息里面的用户信息
 * @author zhanrf
 * @date 2022/1/25 22:39
 */
public class UserInfoInTokenBO {
	private Long userId;

	private String nickName;

	private String phoneNumber;

	private String email;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Override
	public String toString() {
		return "SecurityUserInfoBO{" +
				"userId=" + userId +
				", nickName='" + nickName + '\'' +
				", phoneNumber='" + phoneNumber + '\'' +
				", email='" + email + '\'' +
				'}';
	}
}
